package com.ostrich.module_community

import androidx.lifecycle.LiveData
import com.ostrich.library_net.BaseResponse
import com.ostrich.module_community.attention.entity.AttentionEntity
import com.ostrich.module_community.recommend.entity.ReCommendEntity
import retrofit2.http.GET

/**
 * @Author : yaotianxue
 * @Time : On 2023/10/31 15:11
 * @Description : CommunityApi
 *
 *
1.推荐

请求地址： http://baobab.kaiyanapp.com/api/v7/community/tab/rec
2.关注

请求地址： http://baobab.kaiyanapp.com/api/v6/community/tab/follow
 */
interface CommunityApi {
    //关注
    @GET("/api/v6/community/tab/follow")
    fun attention():LiveData<BaseResponse<MutableList<AttentionEntity>>>
    //推荐
    @GET("/api/v7/community/tab/rec")
    fun recommend():LiveData<BaseResponse<MutableList<ReCommendEntity>>>



}